<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		(function(){
			window.addEventListener('storage',function(e){
				//如果缓存的名字为xxx
				if(e.key=="xxx"){
					alert("发送请求和重刷页面");
				}
			})
		})();
	</script>
</html>
